package com.example.smartcommunity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

public class ZhgjActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.layout_zhgj);
        TextView tv_zx=findViewById(R.id.tv_zx);
        TextView tv_ts=findViewById(R.id.tv_ts);
        TextView tv_kd=findViewById(R.id.tv_kd);
        TextView tv_wy=findViewById(R.id.tv_wy);
        TextView tv_wx=findViewById(R.id.tv_wx);
        TextView tv_fk=findViewById(R.id.tv_fk);
        ImageView back = findViewById(R.id.back);

        tv_zx.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

                Intent intent = new Intent(getApplicationContext() , JyActivity.class);
                startActivity(intent);
            }
        });

        tv_fk.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

                Intent intent = new Intent(getApplicationContext() , FktxActivity.class);
                startActivity(intent);
            }
        });
        tv_wy.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

                Intent intent = new Intent(getApplicationContext() , PropertyActivity.class);
                startActivity(intent);
            }
        });
        tv_kd.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

                Intent intent = new Intent(getApplicationContext() , KddjActivity.class);
                startActivity(intent);
            }
        });
        tv_ts.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

                Intent intent = new Intent(getApplicationContext() , TsbyActivity.class);
                startActivity(intent);
            }
        });
        tv_wx.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

                Intent intent = new Intent(getApplicationContext() , WxfwActivity.class);
                startActivity(intent);
            }
        });
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(ZhgjActivity.this,MainActivity.class);
                startActivity(intent);
            }
        });



    }
}
